package com.heima.service;

import com.heima.pojo.dto.VendingMachineDto;
import com.heima.pojo.dto.VendingMachineSearchDto;
import com.heima.pojo.entity.VendingMachine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.pojo.vo.VendingMachineSearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ljk
 * @since 2024-10-23
 */
public interface VendingMachineService extends IService<VendingMachine> {

    /**
     * 售货机分页查询
     * @param dto
     * @return
     */
    VendingMachineSearchVo pageQuery(VendingMachineSearchDto dto);

    /**
     * 新增售货机
     * @param dto
     */
    void addVM(VendingMachineDto dto);
}
